//
//  SILightAddtionalInfo.m
//  CampingLight
//
//  Created by Piccolo on 11/02/2018.
//  Copyright © 2018 SmartIT. All rights reserved.
//

#import "SILightAddtionalInfo.h"

@implementation SILightAddtionalInfo

- (instancetype)initWithSosStatus:(NSSIEnableStatus)sosStatus indicatorStatus:(NSSIEnableStatus)indicatorStatus soundStatus:(NSSIEnableStatus)soundStatus awakenStatus:(NSSIEnableStatus)awakenStatus {
    
    self = [super init];
    if (self) {
        _lightSosStatus = sosStatus;
        _lightIndicatorStatus = indicatorStatus;
        _lightSoundStatus = soundStatus;
        _lightAwakenStatus = awakenStatus;
    }
    return self;
}

- (id)copyWithZone:(NSZone *)zone {
    
    id copy = [[[self class] alloc] init];
    if (copy) {
        // Copy NSObject subclasses
        [copy setLightSoundStatus:_lightSoundStatus];
        [copy setLightIndicatorStatus:_lightIndicatorStatus];
        [copy setLightSosStatus:_lightSosStatus];
        [copy setLightAwakenStatus:_lightAwakenStatus];
    }
    return copy;
}

@end
